package com.ymttest.database.mapping;

import com.ymttest.database.model.YmtMessage;
import com.ymttest.database.model.YmtMessageAttach;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@SuppressWarnings("rawtypes")
public interface ImDefaultMapper {
	List<YmtMessage> selectImInfo(Map m);

	List<YmtMessage> selectImInfoByFromUserIdAndToUserId(Map m);

	List<YmtMessage> selectMessageByToUserIdAndFromUserId(Map m);

	List<YmtMessage> selectMessageBySessionNumber(Map m);

	List<HashMap> selectTotalCount(Map m);

	List<HashMap> selectComment(Map m);

	List<HashMap> selectPushBind(Map m);

	List<HashMap> selectCommentByTime(Map m);

	List<YmtMessageAttach> selectMessageattachByMessageId(Map m);

	List<HashMap> selectPushBindBydeciveId(Map m);

	List<HashMap> selectPushConfigByUserId(Map m);

	List<HashMap> selectSellerPushConfigByUserId(Map m);

	List<HashMap> selectPushBindByUserId(Map m);

	List<HashMap> selectSessionByUserId(Map m);

	List<HashMap> selectImNotifyByToUserId(Map m);

	List<HashMap> selectImNotifyByPushTitle(Map m);

	List<HashMap> selectImNotifyByNotifyId(Map m);

}